
.toyHome {
	display: flex;
	flex-direction: column;
	overflow:hidden;
	background-color: #f8f9fa;
	color: #333;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

	:global {
		// 通用样式
		* {
			box-sizing: border-box;
			-webkit-tap-highlight-color: transparent;
		}

		section {
			margin-bottom: 20px;
		}

		svg {
			display: block;
		}
		// 内容区域样式
		.content {
			height: 100%;
			padding: 16px;
		}

		// 英雄区域样式
		.hero-section {
			margin-bottom: 24px;

			.scan-card {
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 20px;
				border-radius: 16px;
				background: linear-gradient(135deg, #4ee3bc 0%, #38cba2 100%);
				box-shadow: 0 4px 12px rgba(78, 227, 188, 0.2);

				.scan-info {
					.scan-title {
						font-size: 20px;
						font-weight: 600;
						color: #044747;
						margin: 0 0 8px 0;
					}

					.scan-subtitle {
						font-size: 14px;
						color: #044747;
						margin: 0;
						opacity: 0.8;
					}
				}

				.camera-wrapper {
					.camera-icon {
						width: 56px;
						height: 56px;
						background-color: rgba(255, 255, 255, 0.8);
						border-radius: 50%;
						display: flex;
						align-items: center;
						justify-content: center;
						box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
						cursor: pointer;
						transition: transform 0.2s ease;

						&:active {
							transform: scale(0.95);
						}
					}
				}
			}
		}

		// 分类区域样式
		.categories-section {
			margin-bottom: 24px;

			.category-row {
				display: flex;
				justify-content: space-between;
				overflow-x: auto;
				padding: 8px 0;
				-ms-overflow-style: none;  /* IE and Edge */
				scrollbar-width: none;  /* Firefox */

				&::-webkit-scrollbar {
					display: none;
				}

				.category-item {
					display: flex;
					flex-direction: column;
					align-items: center;
					min-width: 70px;
					margin-right: 16px;

					&:last-child {
						margin-right: 0;
					}

					.category-icon {
						width: 48px;
						height: 48px;
						border-radius: 12px;
						margin-bottom: 8px;
						display: flex;
						align-items: center;
						justify-content: center;
						box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
						transition: transform 0.2s ease;

						&:active {
							transform: scale(0.95);
						}
					}

					.category-label {
						font-size: 12px;
						color: #333;
						font-weight: 500;
					}
				}
			}
		}

		// 促销区域样式
		.promo-section {
			margin-bottom: 24px;

			.promo-card {
				border-radius: 16px;
				overflow: hidden;
				background: linear-gradient(135deg, #a6d9ff 0%, #72b9ff 100%);
				box-shadow: 0 4px 12px rgba(166, 217, 255, 0.2);

				.promo-tag {
					text-align: center;
					padding: 8px 0;
					background-color: rgba(255, 255, 255, 0.2);
					color: #fff;
					font-size: 14px;
					font-weight: 500;
				}

				.promo-content {
					padding: 16px 20px 20px;

					.promo-title {
						font-size: 18px;
						margin: 0 0 12px 0;
						line-height: 1.4;

						.highlight-yellow {
							color: #ffc107;
							font-weight: 600;
							margin-right: 4px;
						}

						.highlight-orange {
							color: #fd7e14;
							font-weight: 600;
						}
					}

					.promo-desc {
						font-size: 14px;
						color: #495057;
						margin: 0 0 16px 0;
					}

					.promo-cta {
						background-color: #fd7e14;
						color: #fff;
						border: none;
						border-radius: 20px;
						padding: 8px 20px;
						font-size: 14px;
						font-weight: 500;
						cursor: pointer;
						box-shadow: 0 2px 8px rgba(253, 126, 20, 0.3);
						transition: all 0.2s ease;
						display: flex;
						align-items: center;
						justify-content: center;

						&:active {
							transform: translateY(1px);
							box-shadow: 0 1px 4px rgba(253, 126, 20, 0.3);
						}
					}
				}
			}
		}

		// 通用区块头部样式
		.section-header {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 16px;

			.section-title {
				font-size: 18px;
				font-weight: 600;
				color: #333;
				margin: 0;
			}

			.view-all {
				font-size: 13px;
				color: #6c757d;
				cursor: pointer;

				&:active {
					opacity: 0.7;
				}
			}
		}



		// 品牌故事区域样式
		.brands-section {
			margin-bottom: 24px;

			.video-card {
				background-color: #fff;
				border-radius: 16px;
				overflow: hidden;
				box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

				.video-thumbnail {
					position: relative;
					height: 160px;
					overflow: hidden;

					.video-bg {
						width: 100%;
						height: 100%;
						background: linear-gradient(135deg, #4a6274 0%, #2c3e50 100%);
						background-size: cover;
						background-position: center;
						position: relative;

						&:before {
							content: '';
							position: absolute;
							top: 0;
							left: 0;
							width: 100%;
							height: 100%;
							background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
						}
					}

					.play-button {
						position: absolute;
						width: 48px;
						height: 48px;
						border-radius: 50%;
						top: 50%;
						left: 50%;
						transform: translate(-50%, -50%);
						display: flex;
						align-items: center;
						justify-content: center;
						cursor: pointer;
						transition: transform 0.2s ease;

						&:active {
							transform: translate(-50%, -50%) scale(0.95);
						}
					}
				}

				.video-info {
					padding: 16px;

					.video-title {
						font-size: 16px;
						font-weight: 600;
						color: #333;
						margin: 0 0 8px 0;
					}

					.video-duration {
						font-size: 12px;
						color: #6c757d;
						margin: 0;
						display: flex;
						align-items: center;
					}
				}
			}
		}

		// 底部导航栏样式
		.footer {
			display: flex;
			height: 56px;
			background-color: #fff;
			box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);

			.footer-tab {
				flex: 1;
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;
				color: #adb5bd;
				transition: color 0.2s ease;

				.tab-icon {
					width: 24px;
					height: 24px;
					margin-bottom: 4px;
					display: flex;
					align-items: center;
					justify-content: center;
				}

				.tab-label {
					font-size: 12px;
					font-weight: 500;
				}

				&.active {
					color: #4ee3bc;
				}
			}
		}
	}
}
